import { ApiProperty } from '@nestjs/swagger';
export class UserDetailVo {
  @ApiProperty({ description: 'id', required: false })
  id: number;

  @ApiProperty({ description: '用户名', required: false })
  username: string;

  @ApiProperty({ description: '昵称', required: false })
  nickName: string;

  @ApiProperty({ description: '邮箱', required: false })
  email: string;

  @ApiProperty({ description: '头像', required: false })
  headPic: string;

  @ApiProperty({ description: '手机号', required: false })
  phoneNumber: string;

  @ApiProperty({ description: '是否冻结', required: false })
  isFrozen: boolean;

  @ApiProperty({ description: '是否管理员', required: false })
  isAdmin: boolean;

  @ApiProperty({ description: '创建时间', required: false })
  createTime: Date;
}
